<admintpl file="header" />
</head>
<body>
	<div class="wrap js-check-wrap">

		<ul class="nav nav-tabs">
			<li><a href="{:U('AdminTerm/term_type_list')}">分类列表</a></li>
			<li class="active"><a href="{:U('AdminTerm/term_type_edit')}">添加分类</a></li>
		</ul>

		<form class="form-horizontal js-ajax-form" action="{:U('AdminTerm/term_type_edit')}" method="post">
			<input type="hidden" name="id" value="{$term_type.id}"/>
			<div class="tabbable">
				<div class="tab-content">
					<div class="tab-pane active" id="A">
						<fieldset>

							<div class="control-group">
								<label class="control-label">分类名称</label>
								<div class="controls">
									<input type="text" name="type_name" value="{$term_type.type_name}"><span class="form-required">*</span>
								</div>
							</div>
						</fieldset>
					</div>
				</div>
			</div>
			<div class="form-actions">
				<button class="btn btn-primary js-ajax-submit" type="submit">保存</button>
				<a class="btn" href="javascript:history.back(-1);">返回</a>
			</div>
		</form>
	</div>
	<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
</body>
</html>